public class AreaTest
{
	public static void main(String[] argv)
	{
		Rectangle[] rt = new Rectangle[3];
		rt[0] = new Rectangle(2, 10);
		rt[1] = new Rectangle(3, 10);
		rt[2] = new Rectangle(4, 10);

		Circle[] ct = new Circle[3];
		ct[0] = new Circle(2);
		ct[1] = new Circle(3);
		ct[2] = new Circle(4);


		AreaCalculator ac = new AreaCalculator();
		int temp = ac.Area(rt);
		float temp2 = ac.Area(ct);

		System.out.println(temp);

		System.out.println(temp2);
	}
}

